Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Working With Channel Characteristics


SGGetChannelUsage

The SGGetChannelUsage function allows you to determine how a channel is to be used by the sequence grabber component.

pascal ComponentResult SGGetChannelUsage (SGChannel c,
                                          long *usage);
c
Specifies the reference that identifies the channel for this operation. You obtain this reference from the SGNewChannel function, described on page 5-29.
usage
Contains a pointer to flags indicating how the channel is to be used. More than one flag may be set to 1; unused flags are set to 0. The following flags are defined:
seqGrabRecord
Indicates that the channel is used during record operations.
seqGrabPreview
Indicates that the channel is used during preview operations.
seqGrabPlayDuringRecord
Indicates that the sequence grabber component plays the data captured by this channel during a record operation.
SEE ALSO
You establish a channel's usage by calling the SGSetChannelUsage function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help